﻿using MediatR;
using SmartProduction.Domain.客户管理;
using SmartProduction.ErrorCode;

namespace SmartProduction.Read.API.Application.Commands.MaterialInfoCommand
{
    /// <summary>
    /// 物料信息查询命令
    /// </summary>
    public class MaterialInfoQueryCommand : IRequest<APIResult<APIPaing<MaterialInfo>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 页码
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string? MaterialInfoName { get; set; }

        /// <summary>
        /// 物料类别
        /// </summary>
        public string? MaterialInfoType { get; set; }
        /// <summary>
        /// 物料与服务
        /// </summary>
        public string? MaterialInfoServer { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string? MaterialInfoCode { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string? Statu { get; set; }
    }
}
